Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController B

Total Complexity 87
Dependencies 9
Dependents 7
Total lines 666
Lines of code 370
Logical lines of code 218
Comment lines 130
Methods 16
Properties 0

Methods 16

Method Rating Maintainability Complexity Lines of code
get_files()
C
33 25 97
search_within_files()
A
39 13 63
get_file_rotations()
A
45 8 40
write_to_file()
S
54 6 20
rotate_file()
S
57 5 16
export_multiple_files()
S
51 4 26
get_files_by_id()
S
58 4 15
delete_files()
S
60 4 14
get_file_sources()
S
57 3 17
get_file_by_id()
S
59 3 16
get_log_directory_size()
S
62 3 11
get_file_size_limit()
S
66 3 8
convert_paths_to_objects()
S
65 2 10
export_single_file()
S
65 2 9
generate_filename()
S
71 1 5
invalidate_cache()
S
80 1 3